﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
using System.Threading.Tasks;
using WomanMotion.WebApi.Infrastructure.DataBaseCommon;
using WomanMotion.WebApi.Infrastructure.Ioc;
using WomanMotion.WebApi.Model.Dtos.Match;
using WomanMotion.WebApi.Model.Dtos.Team;
using WomanMotion.WebApi.Model.Entitys;

namespace WomanMotion.WebApi.Service.IService
{
    public interface IMatchService : IBaseCRUDService<Match, MatchVM, UpdateMatchDTO, CreatedMatchDTO>, ITransientDependency
    {
        /// <summary>
        /// 前端获取比赛信息接口
        /// </summary>
        /// <param name="pars"></param>
        /// <returns></returns>
        Task<PageViewBase<List<LeadingMatchVM>>> GetLeadingMatchAsync(QueryParameterBase pars);

        /// <summary>
        /// 获取距离现在日期最近的赛程信息
        /// </summary>
        /// <returns></returns>
        Task<Schedule> GetLatelyScheduleAsync(long topLevelId, long twoLevelId);
    }
}